﻿Imports PowerSong.SongDatabase.Legacy.Style
Imports PowerSong.SongDatabase.Legacy.Style.EBackgroundType

Namespace Items

    ''' <summary>
    ''' Represents details that describe how the background of a projection is overridden.
    ''' </summary>
    Public Class OverrideBackground

        ''' <summary>
        ''' Gets or sets the type of background (ie: solid, image...etc).
        ''' </summary>
        ''' <value>The type of background.</value>
        Public Property Type() As EBackgroundType = None

        ''' <summary>
        ''' Gets or sets the value that relates to the type of background.
        ''' </summary>
        ''' <value>The value of the background (ie: a colour,  or image, depending on the background type).</value>
        Public Property Value() As Object = Nothing

        Public Sub New(ByVal type As EBackgroundType, ByVal value As Object)
            Me.Type = type
            Me.Value = value
        End Sub

    End Class

End Namespace